var a=12000
if (a>10000) {
    var b=a-
        c=a-
   console.log(a=(b*0.1)+(c*0.2));

}
else  console.log(a)